package com.yuda.tools.checkanswer.service;

import com.yuda.tools.checkanswer.dto.*;

import java.util.List;
import java.util.Map;

public interface CheckAnswerService {


    Map<Integer, Map<Integer, Integer>> getSubjectQuesCount();

    List<StudentOssDto> listStudentsForCheck(int testSession, int subjectIndex);

    String checkAnswer(int testSession, int subjectIndex) throws InterruptedException;

    List<ResultMessage> listResultMessage(String searchKey, Integer[] provinceIds,Integer marked,Integer handle);

    List<Province> listProvince();

    int updateAnswerSource(String id, String studentId, int subjectId);

    List<MqAnswer> searchFromMq(String studentId, String subjectId);

    int markAsNormal(String studentId, String subjectId,Integer status);

    String currentCheckTips();

    List<ResultMessage> listResultExaming(String searchKey, Integer[] provinceIds);

    int getPcNoByStudentId(String s);

    String checkCanBeUpdateRoadMap();

    void updateRoadMap();

    RoadMap roadMap();

    //答案补全使用
    List<Integer> listQuestionIdsFromMarked(String studentId, String subjectId);

    List<Integer> listAllQuestionsBySubjectId(String subjectId);

    void supplementAnswerToMarkedTable(List<FormalAnswerMarked> all);

    SubjectIdAndPaperId findSubjectIdAndPaperId(String subjectRelationtId);

    String getZkzNumByStudentId(String studentId);

    void updateTypeForMarkedTable();
}
